@import './base.css';

    /* 一般浏览器的不要太小，容易看不见 */
html::-webkit-scrollbar {
    width: 11px;
}
html::-webkit-scrollbar-thumb {
    border-radius: 3px;
    background: #f1c3d5;
}
html::-webkit-scrollbar-track {
    border-radius: 0;
    background: #f9f9fc;
}

.bottom{
    overflow: auto;
    height: 82vh;
}
.bottom::-webkit-scrollbar {
    width: 5px;
}
.bottom::-webkit-scrollbar-thumb {
    border-radius: 1px;
    background: #f1c3d5;
}
.bottom::-webkit-scrollbar-track {
    border-radius: 0;
    background: #f9f9fc;
}



.top{
    display: flex;
    align-items: center;
    height: 50px;
}
.search{
    outline: none;
    width: 200px;
    height: 30px;
    padding: 0 2px;
    border-radius: 3px;
    color: #8f8c8c;
    border: 1px solid #8f8c8c;
}
.t_left_{
    position: relative;
    width: 200px;
    height: 100%;
    display: flex;
    justify-content: left;
    align-items: center;
}
.s_but_{
    position: absolute;
    right: -19%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 30px;
    padding: 10px;
    background: #509eec;
    border-bottom-right-radius: 3px;
    border-top-right-radius: 3px;
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
}
.s_but_:hover{
    cursor: pointer;
    opacity: .9;
}
.t_right_{
    display: flex;
    align-items: center;
    position: relative;
    font-size: 15px;
    height: 30px;
    margin-left: 100px;
}
.t_right_ span{
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 150px;
    height: 30px;
    border: 1px solid #8f8c8c;
    margin-left: 20px;
}
.user_img img {
    width: 40px;
    border-radius: 50%;
    margin-right: 5px;
    margin-top: 3px;
    object-fit: cover;
}

.user_img p {
    line-height: 50px;
}

.overflow {
    min-width: 150px;
    overflow: hidden; /*超出部分隐藏*/
    white-space: nowrap; /*禁止换行*/
    text-overflow: ellipsis; /*省略号*/
}
tbody{
    overflow: auto;

}
label{
    margin-left: 8px;
    cursor: pointer;
}
thead{
    width: 100%;
    left: 0;
}
table{
    width: 100%;
    max-height: 300px;
    min-height: 80px;
    position: relative;
}
th{
    min-width: 20px;
    padding: 0 5px;
    border-bottom: 1px solid #8f8c8c;
}
td{
    max-width: 200px !important;
    height: 45px !important;
    max-height: 45px;
    padding: 0 5px;
    animation: td_ .3s ease-in-out 0s 1 forwards;
}
@keyframes td_ {
    0%{
        transform: scaleX(0%);
    }100%{
         transform: scaleX(100%);
     }
}
tr{
    max-width: 200px !important;
    min-width: 20px;
    text-align: center;
    height: 30px;
    padding: 0 5px;
    background: #fff;
    margin-bottom: 5px;
}

tr:nth-child(2n){
    background: rgba(206, 202, 202, 0.5);
}
.edit{
    padding: 6px 10px;
    background: #6da6e1;
    border-radius: 3px;
    margin:0 5px;
    color: white;
    cursor: pointer;
    font-size: 14px;
}
.del{
    background: #e75853;
}
.limit{
    outline: none;
    width: 50px;
    height: 28px;
    text-align: center;
}
.bottom_{
    width: 100%;
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.jian{
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 25px;
    margin: 0 5px;
    width: 35px;
    height: 28px;
    color: white;
    border-radius: 2px;
    background: #6da6e1;

}
.jian:hover{
    cursor: pointer;
    opacity: .9;
}
div,span,p{
    background-size: cover;
}
img{
    object-fit: cover;
}

.button_style{
    padding: 6px 10px;
    border-radius: 3px;
    margin:0 5px;
    color: white;
    font-size: 14px;
}

.but_normal{
    background: #6fc91d;
}
.but_mistake{
    background: #f34e4e;
}
.but_disable{
    background: #4b4b49;
}
.but_detail{
    background: #0c97e1;
}
.but_warn{
    background: #dcb35b;
}
.hover{
    cursor: pointer;
}




